﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoreBroker
{
    //镜头预览崩溃引发的事件
    public delegate void PlayingAbortEventHandler(Object sender, PlayingAbortEventArgs e);

    //报告检测结果，反馈给UI线程
    public delegate void DetectResultReportedEventHandler(Object sender, DetectResultReportedEventArgs e);

    //报告准备任务完成事件，反馈给UI线程
    public delegate void ReadyTaskCompletedEventHandler(Object sender, ReadyTaskCompletedEventArgs e);

    //报告准备任务中止事件，反馈给UI线程
    public delegate void ReadyTaskAbortedEventHandler(Object sender, ReadyTaskAbortedEventArgs e);

    //报告拍照结果，反馈给UI线程
    public delegate void TakingCompletedEventHandler(Object sender, TakingCompletedEventArgs e);

    //报告准备任务中止事件，反馈给UI线程
    public delegate void TakingAbortedEventHandler(Object sender, TakingAbortedEventArgs e);
}
